import request from '../utils/request'

export function getInfo(mchId) {
  return request({
    url:'/mch/getInfo/'+mchId,
    method:'get'
  })
}

export function register(data,params) {
  return request({
    url: '/mch/register',
    method: 'post',
    data:data,
    params: params,
  })
}

export function update(data,params) {
  return request({
    url: '/mch/update',
    method: 'post',
    data:data,
    params: params,
  })
}



